package cn.ava.org.service.impl;

import cn.ava.org.domain.ShopAuditLog;
import cn.ava.org.mapper.ShopAuditLogMapper;
import cn.ava.org.service.IShopAuditLogService;
import cn.ava.basic.service.impl.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author ava
 * @since 2022-07-02
 */
@Service
@Transactional(readOnly = true, propagation = Propagation.SUPPORTS)
public class ShopAuditLogServiceImpl extends BaseServiceImpl<ShopAuditLog> implements IShopAuditLogService {

    @Autowired
    ShopAuditLogMapper shopAuditLogMapper;

    @Override
    public List<ShopAuditLog> getByAuditLogs(Long id) {
        return shopAuditLogMapper.getByAuditLogs(id);
    }
}
